//
//  OYProfileController.swift
//  weiboCopycat
//
//  Created by Orange Yu on 2016/11/30.
//  Copyright © 2016年 Orange Yu. All rights reserved.
//

import UIKit

class OYProfileController: OYVistorController {

    override func viewDidLoad() {
        super.viewDidLoad()

        if isLogin == false {
            visitorView?.updateVisitorView(labelTitle: "登录后，你的微博、相册、个人资料会显示在这里，展示给别人", imageName: "visitordiscover_image_profile")
        }else {
        
            navigationItem.rightBarButtonItem = UIBarButtonItem(title: "跳转", target: self, action: #selector(pushAction))
        }
        
    }

    func pushAction() {
        
        self.navigationController?.pushViewController(OYTestController(), animated: true)
        
    }
    
    

}
